home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 6_functions / chngw < prev    next >
Text File  |  2001-03-21  |  583b  |  22 lines

  1. Synopsis::
  2.    $chngw(<index> <word> <text>)
  3.  
  4. Technical:
  5.    This function returns its input text, with the given word replacing the
  6.    word pointed to by the index.  Words are counted from 0 (zero).
  7.  
  8. Practical:
  9.    This function changes a single word in a list of words to another word.
  10.    This might be useful for changing a user's permission bits in a variable
  11.    that holds a script's access levels.
  12.  
  13. Returns:
  14.    text with new word inserted
  15.  
  16. Examples:
  17.    $chngw(2 blah foo bar booya)          returns "foo bar blah"
  18.  
  19. See also:
  20.    insertw(6); remw(6); splice(6)
  21.  
  22.